<?php
/**
 Tela de confirma��o para a altera��o de um Campus.
 */

if( !function_exists('__autoload') )
{
    function __autoload($class_name) {
    require_once $class_name . '.php';
    }
}
$c = new Campus(  $_POST['campusId'], $_POST['campusNome'], $_POST['campusResponsavel'] );

$campus =$_POST['campi'];
$responsavel = $_POST['campusResponsavel'];
$nomeUnidade = $_POST['campusNome'];
?>
<html>
<head>
<title>SAEO - Confirmar Alteracao de Campus</title>
<link rel='stylesheet' type='text/css' href='templates/estilos.css'>
</head>
<body class='body'>
<form name='confirmar_alteracao_campus'
	action='EnviarDadosCampus.php?operacao=2' method='post'><input
	type='hidden' name='campus' value='<?php echo $campus; ?>'>
<table width='779' border='0' cellspacing='0' cellpadding='0'
	align='center' bgcolor='#FFFFFF'>
	<tr>
		<td colspan='2'><?php include "Topo.php"; ?></td>
	</tr>
	<tr>
		<td>
		<div class='titulosTabelas'
			style='width: 779; height: 20; background: url(templates/tabela.jpg)'>CONFIRMAR
		ALTERA&Ccedil;&Atilde;O DA CAMPUS</div>
		</td>
	</tr>
	<tr>
		<td colspan='2'>&nbsp;</td>
	</tr>
	<tr>
		<td>
		<table class='tabela' width='650' border='0' cellspacing='0'
			cellpadding='0' align='center' bgcolor='#FFFFFF'>
			<tr>
				<td>&nbsp;</td>
			</tr>
			<tr>
				<td class='textoTabelas' width='15%'>&nbsp;Nome:</td>
				<td class='textoTabelas'><?php echo $_POST['campusNome']; ?>
								<input type='hidden' name='campusNome'
					value='<?php echo $nomeUnidade; ?>'>
				</td>
			</tr>
			<tr>
				<td colspan='2'>&nbsp;</td>
			</tr>
			<tr>
				<td class='textoTabelas' width='15%'>&nbsp;Responsavel:</td>
				<td class='textoTabelas'><?php echo $_POST['campusResponsavel']; ?></td>
				<input type='hidden' name='campusResponsavel'
					value='<?php echo $responsavel; ?>'>
			</tr>
			<tr>
				<td colspan='2'>&nbsp;</td>
			</tr>
			<tr>
				<td colspan='2' height='46'>
				<div style='position: relative; left: 220px'><img
					style='width: 100px; height: 30px; cursor: pointer;'
					src='templates/btvoltar.jpg' onclick='javascript: history.go(-1);'>&nbsp
				<input type='image' style='width: 100px; height: 30px;'
					src='templates/btalterar.jpg' /></div>
				</td>
				<tr>
		
		</table>
		</td>
	</tr>
	<tr>
		<td>&nbsp;</td>
	</tr>
	<tfoot>
		<tr>
			<td colspan='2'>&nbsp;</td>
		</tr>
		<tr> 
			<?php include 'rodapeCreditos.php'; ?>
		</tr>
	</tfoot>
</table>
</form>
</body>
</html>